export const monitor = [
  //  设备管理
  {
    name: 'monitor_equipment',
    path: '/monitor/equipment',
    component: () => import('~/pages/monitor/equipment')
  },
  //  设备管理 - 新增、编辑
  {
    name: 'monitor_equipment_addEdit',
    path: '/monitor/equipment/addEdit',
    component: () => import('~/pages/monitor/equipment/addEdit')
  },
  //  报警管理
  {
    name: 'monitor_police',
    path: '/monitor/police',
    children: [
      // 报警数据
      {
        name: 'monitor_police_data',
        path: '/monitor/police/data',
        component: () => import('~/pages/monitor/police/data')
      },
      // 报警数据 - 详情
      {
        name: 'monitor_police_data_info',
        path: '/monitor/police/data/info',
        component: () => import('~/pages/monitor/police/data/info')
      }
    ]
  },
  //  数据报表
  {
    name: 'monitor_report',
    path: '/monitor/report',
    children: [
      // 通信数据
      {
        name: 'monitor_report_communication',
        path: '/monitor/report/communication',
        component: () => import('~/pages/monitor/report/communication')
      },
      // 通信数据 - 详情
      {
        name: 'monitor_report_communication_info',
        path: '/monitor/report/communication/info',
        component: () => import('~/pages/monitor/report/communication/info')
      }
    ]
  },
  {
    name: 'lamp_node',
    path: '/device/lampNode',
    children: [
      // 单灯列表
      {
        name: 'lamp_node_list',
        path: '/lamp/lamp/lamplist',
        component: () => import('~/pages/monitor/singleLamp/singleLampMana')
      },
      // 单灯分组
      {
        name: 'monitor_lampGroup',
        path: '/monitor/lampGroup/lampGroup',
        component: () => import('~/pages/monitor/singleLamp/singleLampGroup')
      },
      // 单灯灯杆
      {
        name: 'lamp_post',
        path: '/lamp/post/post',
        component: () => import('~/pages/monitor/singleLamp/lamppostMana')
      },
      // 单灯策略
      {
        name: 'lamp_lampTask',
        path: '/lamp/lampTask/lampTask',
        component: () => import('~/pages/monitor/singleLamp/singleLampStrategy')
      },
      // 单灯警报设置
      {
        name: 'lamp_alarmSet',
        path: '/lamp/lamp/alarmSet',
        component: () => import('~/pages/monitor/singleLamp/lampAlarmSet')
      },
      // 单灯警报列表
      {
        name: 'lamp_alarm',
        path: '/lamp/lamp/alarm',
        component: () => import('~/pages/monitor/singleLamp/lampAlarm')
      },
      // 运行地图
      {
        name: 'lamp_runmap',
        path: '/lamp/lamp/runmap',
        component: () => import('~/pages/monitor/singleLamp/lampRunMap')
      },
      // 工况
      {
        name: 'lamp_workdata',
        path: '/lamp/lamp/workdata',
        component: () => import('~/pages/monitor/singleLamp/lampWorkData')
      },
      // 统计报表
      {
        name: 'lamp_total',
        path: '/lamp/lamp/total',
        component: () => import('~/pages/monitor/singleLamp/singlelampStatistical')
      }
    ]
  },
  // 工况列表
  {
    name: 'monitor_work_data',
    path: '/monitor/work/data',
    component: () => import('~/pages/monitor/work/data')
  },
  // 事件列表
  {
    name: 'monitor_event_data',
    path: '/monitor/event/data',
    component: () => import('~/pages/monitor/event/data')
  },
  // 警报设置
  {
    name: 'monitor_police_set',
    path: '/monitor/police/set',
    component: () => import('~/pages/monitor/police/set')
  },
  // 运行地图
  {
    name: 'monitor_hardware_runmap',
    path: '/monitor/loop_monitor_box/run_map',
    component: () => import('~/pages/monitor/runmap')
  },
  // 统计报表
  {
    name: 'monitor_hardware_total',
    path: '/monitor/loop_monitor_box/total',
    component: () => import('~/pages/monitor/hardware')
  },
  // 开关灯分组
  {
    name: 'monitor_hardware_task_group',
    path: '/monitor/loop_monitor_box/loop_switch_group',
    component: () => import('~/pages/monitor/switch/group')
  },
  // 开关灯任务
  {
    name: 'monitor_hardware_task',
    path: '/monitor/loop_monitor_box/switch_light_strategy',
    component: () => import('~/pages/monitor/switch/strategy')
  },

  // 井盖-运行地图
  {
    name: 'monitor_manhole_runmap',
    path: '/monitor/manhole/runmap',
    component: () => import('~/pages/monitor/manhole/runmap')
  },
  // 井盖-设备管理
  {
    name: 'monitor_manhole_device',
    path: '/monitor/manhole/device',
    component: () => import('~/pages/monitor/manhole/device')
  },
  // 井盖-警报配置
  {
    name: 'monitor_manhole_alarmconfig',
    path: '/monitor/manhole/alarmconfig',
    component: () => import('~/pages/monitor/manhole/alarmconfig')
  },
  // 井盖-警报列表
  {
    name: 'monitor_manhole_alarm',
    path: '/monitor/manhole/alarm',
    component: () => import('~/pages/monitor/manhole/alarm')
  },
  // 井盖-工况列表
  {
    name: 'monitor_manhole_workdata',
    path: '/monitor/manhole/workdata',
    component: () => import('~/pages/monitor/manhole/workdata')
  }
]
